package com.crane.oss.app.bean.resp;

import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 返回作业详情-批改时
 * 
 * @author tyh
 *
 */
@Getter
@Setter
@ToString
public class AppHomeWorkCommentDetailResp implements Serializable {
	
	private static final long serialVersionUID = 3539512205467739077L;

	@ApiModelProperty(value = "作业id", name = "homeworkId")
	private String homeworkId;
	
	@ApiModelProperty(value = "作业标题", name = "homeworkTitle")
	private String homeworkTitle;
	
	@ApiModelProperty(value = "作业内容", name = "homeworkContent")
	private String homeworkContent;
	
	@ApiModelProperty(value = "已提交列表", name = "completedList")
	private List<FinishInfo> completedList;
	
	@ApiModelProperty(value = "未提交列表", name = "undoneList")
	private List<FinishInfo> undoneList;
	
	@Getter
	@Setter
	@ToString
	public class FinishInfo implements Serializable {
		
		private static final long serialVersionUID = -4160472032238872261L;
		
		@ApiModelProperty(value = "图片url", name = "pictureUrls")
		private List<String> pictureUrls;
		
		@ApiModelProperty(value = "视频url", name = "videoUrls")
		private List<String> videoUrls;
		
		@ApiModelProperty(value = "学生id", name = "studentId")
		private String studentId;
		
		@ApiModelProperty(value = "学生姓名", name = "studentName")
		private String studentName;
		
		@ApiModelProperty(value = "性别 1男 2女", name = "gender")
		private int gender;
		
		@ApiModelProperty(value = "学生提交作业内容", name = "remark")
		private String remark;
		
		@ApiModelProperty(value = "评级", name = "star")
		private int star;
		
		@ApiModelProperty(value = "教师评语", name = "teacherComment")
		private String teacherComment;
		
		@ApiModelProperty(value = "0-未完成，1-已完成", name = "flag")
		private int flag;
		
		@ApiModelProperty(value = "学生图像", name = "headUrl")
		private String headUrl;
		
		@ApiModelProperty(value = "老师是否已批改,1已批改,0未批改", name = "isMark")
		private String isMark;
		
	}
	
}
